import React, {Component} from 'react';
import {
  StyleSheet, View, Text, Keyboard,
  Image, StatusBar, BackHandler,ScrollView,
  KeyboardAvoidingView, DeviceEventEmitter,
} from 'react-native';
import {NavigationBar,Label} from 'teaset';
import {Actions} from 'react-native-router-flux';

export default class Main extends Component {
  componentDidMount() {
  }

  render() {
    // console.log(Platform.OS,'iii')
    return (
      <View  style={styles.base}>
        <NavigationBar
          style={{backgroundColor: '#1890ff'}}
          // type={Platform.OS}
          tintColor='#fff'
          title='项目概览'
          leftView={<NavigationBar.IconButton icon={require('../../icons/home.png')}/>}
          rightView={
              <NavigationBar.IconButton icon={require('../../icons/edit.png')}/>
          }
        />
        <ScrollView
          automaticallyAdjustContentInsets={false}
          showsHorizontalScrollIndicator={false}
          showsVerticalScrollIndicator={false}
        >
          <View><Text>1111</Text></View>
        </ScrollView>
      </View>
    )
  }
}

const styles = StyleSheet.create({
  base: {
    flex: 1,
    flexDirection: 'column',
  },
});

